import pandas as pd
import numpy as np

d = {
    'name':['john','marry','kitty','smith'],
    'age':[21,22,34,56]
}

df = pd.DataFrame(d)

print(df)

df1 = pd.DataFrame(
    data = np.random.randint(13,100,size=(4,6)),
    index=['小明','小红','小黄','小绿'],
    columns=['语文','数学','英语','化学','物理','生物']
)
print(df1)

print("----------------------------")

df2 = pd.DataFrame(
    data=np.random.randint(0,10,(2,3))
)
df3 = pd.DataFrame(
    data=np.random.randint(0,10,(2,3))
)

df2.add(df3,fill_value=0)

print(df2)